package com.yc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 企业
 * @author Yancy
 * @since 2024-01-11
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("company")
@ApiModel(value = "Company对象", description = "企业")
public class Company extends BaseEntity {

private static final long serialVersionUID=1L;

        @ApiModelProperty("企业名称")
    @TableField("name")
        private String name;

        @ApiModelProperty("负责人ID")
    @TableField("member_id")
        private Long memberId;

        @ApiModelProperty("企业描述")
    @TableField("description")
        private String description;

        @ApiModelProperty("联系人")
    @TableField("nick_name")
        private String nickName;

        @ApiModelProperty("联系人电话")
    @TableField("mobile")
        private String mobile;

        @ApiModelProperty("营业执照号")
    @TableField("business_no")
        private String businessNo;

        @ApiModelProperty("营业执照照片")
    @TableField("business_photo")
        private String businessPhoto;

        @ApiModelProperty("地址")
    @TableField("address")
        private String address;

        @ApiModelProperty("帐号启用状态：0->禁用；1->启用 2->审核中")
    @TableField("status")
        private String status;

        @ApiModelProperty("是否已删除")
    @TableField("deleted")
        private Boolean deleted;


    public static final String NAME ="name";

    public static final String MEMBER_ID ="member_id";

    public static final String DESCRIPTION ="description";

    public static final String NICK_NAME ="nick_name";

    public static final String MOBILE ="mobile";

    public static final String BUSINESS_NO ="business_no";

    public static final String BUSINESS_PHOTO ="business_photo";

    public static final String ADDRESS ="address";

    public static final String STATUS ="status";

    public static final String DELETED ="deleted";

        }
